﻿using System;
using System.Collections.Generic;
using System.Text;

using Obsidian.Edm;
using Oak.Core.Model;

namespace Oak.Model
{
    public class BsAdminQry : QueryInfo
    {

        private StringField keyword;
        private EnumField<AdminStatus> status;

        public BsAdminQry()
        {
            base.InitModel(new IModelField[] {
                keyword = new StringField(this, null, "keyword"),
                status = new EnumField<AdminStatus>(this, null, "status", EnumFieldToStringCase.LowerCase)
            });
        }

        public StringField Keyword { get { return keyword; } }
        public EnumField<AdminStatus> Status { get { return status; } }

    }
}
